.formCom {
    .el-input-number {
        width: 140px !important;
    }

    .el-slider__input {
        width: 140px;
    }

    .el-input {
        width: 140px;
    }

    .el-form-item__error {
        width: max-content !important;
    }

    .title2 {
        span {
            font-size: 15px;
            margin-left: 22px;
        }
    }

    .header {
        font-weight: bold;
    }

    .row-txt {
        height: 32px;
        line-height: 32px;
    }

    .row-item {
        width: 100%;
        display: flex;
        align-items: center;

        .txt-label {
            margin-right: 10px;
            padding: 2px;
        }

        .el-input {
            width: 100px;
        }

        .el-slider__input {
            width: 90px;
        }

        &.ctr {
            justify-content: center;
        }

        &.ard {
            justify-content: space-around;
        }

        &.bwn {
            justify-content: space-between;
        }
    }

    .row {
        div {
            margin-right: 10px;
        }
    }

    .txt-btn {
        margin: 0 3px;
        cursor: pointer;

        &:hover {
            opacity: 0.8;
        }

        &+.txt-btn {
            margin-left: 10px;
        }

        .link {
            cursor: pointer;
            text-decoration-line: underline;
            text-decoration-color: #7db2ca;
            color: #7db2ca;

            &:hover {
                opacity: 0.8;
            }
        }
    }

    .close-btn {
        transform: translateY(-50%);
        cursor: pointer;

        &:hover {
            opacity: 0.8;
        }
    }

    .icon-btn {
        margin: 0 3px;
        cursor: pointer;

        &:hover {
            opacity: 0.8;
        }

        &+.icon-btn {
            margin-left: 8px;
        }
    }

    .trans-btn {
        transform: translateY(35%);
    }

    .link-body {
        border: 2px dashed rgba(184, 187, 189, 0.562) !important;
    }

    .link {
        cursor: pointer;
        text-decoration-line: underline;
        text-decoration-color: blue;
        color: blueviolet;

        &:hover {
            opacity: 0.8;
        }
    }

    .tip-row {
        position: relative;
        display: flex;
        align-items: center;

        .tip-icon {
            position: absolute;
            top: 7px;
            left: 90px;
        }
    }

    .el-color-picker {
        transform: translateY(-3px); //?
    }

    .el-collapse-item__content {
        padding-bottom: 2px !important;
    }
}

.el-form-item__label {
    min-width: fit-content !important;
    padding-left: 0.3125vw !important;
}

.mapCom {
    div {
        .el-input-number {
            width: 120px !important;
        }

        .el-slider__input {
            width: 120px;
        }

        .el-input {
            width: 120px;
        }

        .el-color-picker--large .el-color-picker__trigger {
            height: 36px;
            width: 36px;
        }
    }
}

.mapComponentsStyle {
    div {
        .el-input-number {
            width: 90px !important;
        }

        .el-slider__input {
            width: 90px;
        }

        .el-input {
            width: 100px;
        }

        .el-color-picker--large .el-color-picker__trigger {
            height: 36px;
            width: 36px;
        }
    }
}

.mapState {
    div {
        .el-input-number {
            width: 90px !important;
        }

        .el-slider__input {
            width: 90px;
        }

        .el-input {
            width: 120px;
        }
    }
}

.text2 {
    align-items: center;
}

.selected-img {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(42, 55, 80, 1);
    margin-right: 8px;

    img {
        height: 100%;
        width: 100%;
    }
}

.line {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        transform: translateY(17px);
        top: 50%;
        /* 使线条垂直居中 */
        left: 0;
        width: 100%;
        height: 2px;
        /* 线条的高度 */
    }

    &.solid::before {
        background-color: #000;
        /* 线条的颜色 */
    }

    &.dashed::before {
        background-image: repeating-linear-gradient(90deg,
                #000,
                #000 5px,
                transparent 5px,
                transparent 10px);
    }

    &.dotted::before {
        background-image: repeating-linear-gradient(90deg,
                #000,
                #000 2px,
                transparent 2px,
                transparent 4px);
    }
}

.imgbox {
    position: relative;
    height: auto;
    min-height: 60px;
    min-width: 200px;

    &:hover .mask {
        display: block;
    }

    img {
        height: 100%;
        width: 100%;
    }

    .el-tag {
        position: absolute;
        top: 0px;
        right: 0px;
        z-index: 1;
    }

    .mask {
        position: absolute;
        top: 0px;
        z-index: 2;
        height: 100%;
        width: 100%;
        display: none;
        background-color: #000;

        .icon-btns {
            display: flex;
            justify-content: center;
            transform: translateY(50%);

            i {
                cursor: pointer;
                color: #fff;
                font-size: 20px;
                margin-left: 10px;
            }
        }

        .text-btns {
            margin-top: 15px;

            .el-button {
                width: 80px;
            }
        }
    }
}

.rangeBox {
    border-bottom: 1px solid #a7a4a4;
}

.vectorLayer_baseData,
.vectorLayer_scanLineLayer,
.vectorLayer_windLayer,
.vectorLayer_gridLayer {
    &.formCom {
        margin: 10px 5px;
    }
}

.vectorLayer_windLayer {
    .tip-icon {
        left: 80px !important;
    }

    & .box-item {
        width: 80px;
    }

    & .box-item:last-of-type {
        width: 125px;
    }
}

.box-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    padding: 2px;
    border: 1px solid #a7a4a4;
    border-bottom: 0;

    .el-color-picker {
        transform: unset;
    }

    &:last-of-type {
        margin-right: 4px;
    }
}

.search-condition {
    .el-form-item {
        margin-bottom: 0;
    }

    // padding: 10px;
    background-color: rgba(4, 22, 46, 0);
    margin-bottom: 10px;
    display: flex;
    align-items: center;

    .el-icon {
        color: rgba(202, 108, 108, 1);
        font-size: 16px;
        cursor: pointer;
    }

    .search-condition-name {
        display: flex;
        justify-content: space-between;
        color: rgba(124, 175, 227, 1);
        margin-bottom: 10px;
    }

    .customLabel {
        position: absolute;
        color: white !important;
        background: #48566f;
        width: 20px !important;
        height: 20px;
        border-radius: 50%;
        margin: auto;
        /* margin-left: 90px; */
        transform: translateX(-32px);
        text-align: center;
        align-items: center;
        justify-content: center;
        line-height: 20px;
    }
}

.btn {
    margin-top: 14px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    background: rgba(42, 148, 255, 0.2);
    border: 1px solid rgba(42, 148, 255, 0.2);
    color: rgba(42, 148, 255, 1);
}

.searchPanel {

    .el-collapse-item__header,
    .el-collapse-item__wrap {
        background-color: transparent !important;
    }
}

.customCheckbox.el-checkbox:last-of-type {
    margin-right: 4px;
}